package com.simplelove.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.simplelove.entity.MenstrualCycle;

import java.util.List;

/**
 * 月经周期服务接口
 */
public interface MenstrualCycleService extends IService<MenstrualCycle> {
    
    /**
     * 同步月经周期数据
     */
    List<MenstrualCycle> syncMenstrualCycles(Long userId, List<MenstrualCycle> cycles);
    
    /**
     * 获取用户的月经周期数据
     */
    List<MenstrualCycle> getUserMenstrualCycles(Long userId);
}
